<?php
	echo doctype('html5');
?>


<html>


<head>

	<!--  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> -->
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
	<title><?php echo $template['title'];?></title>

	<meta name="description" 	content="" />
	<meta name="author" 		content="" />

	<?php 
		
		// load group libraries
		foreach ($groupLibraries as $lib) {
			$this->carabiner->display($lib);
		}	
		
		// display other assets
		$this->carabiner->display();
	?>
	
	<script>
		ajaxUrl = "<?php echo $ajaxUrl;?>";
		<?php 
			//echo $this->mylibrary->getAddressJScalls();
		?>
		
	</script>

</head>



<body>


	<div id="mainContainer">
	
		<div id="logoutContainer">
            <?php echo anchor("Hotel/logout","Logout",array("id"=>"logout"));?>
		</div>
	
		<div id="infoContainer">
			<p>Bem-vindo, <?php echo $user->username;?> </p>
		</div>
		
		<div id="topContainer">
			<a href="<?php echo base_url()."Main";?>">
				<img class="logo" 		src="<?php echo base_url()."assets/img/hotel/logo.png";?>" 		alt="logo" />
			</a>
			<img class="header1" 	src="<?php echo base_url()."assets/img/hotel/header1.png";?>" 	alt="header1" />
			<img class="header2" 	src="<?php echo base_url()."assets/img/hotel/header2.png";?>" 	alt="header2" />
		</div>
		
		<div id="bodyContainer">
			<div id="bodyTopContainer">
				<?php 
					echo $navigationMenu;
				?>
				<!-- 
				<ul class="navigation">
					<li><a href="#">Main</a></li>
					<li><a href="#">Aulas</a></li>
					<li><a href="#">Extras</a></li>
				</ul>
				-->
			</div>
			<div id="bodyLeftContainer">
				<!-- 
				<ul class="navigation">
					<li class="header">Escolher Escola</li>
				</ul>
				 -->
				
				<!-- Create menu with school's-->
				<? 
					// menu with school list (for now its not needed, only one school for one hotel)
					//echo $schoolListMenu; 
				?>
				<!-- 
				<ul class="navigation">
					<li><a href="#">escola 1</a></li>
					<li><a href="#">escola 2</a></li>
					<li><a href="#">escola 3</a></li>
					<li><a href="#">escola 4</a></li>
				</ul>
				 -->
			</div>
			<div id="bodyMainContainer">
				<?php
					echo $template['body'];
				?>
			</div>
		</div>
	
		<div id="footerContainer">
		</div>
	</div>
</body>






</html>